package top.lt.lt_ssm.bean;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class message {
	private int messId;

	private String messContent;

	private String messTel;

	private Date createTime;

	private String nikename;

	public message() {
	}

	public message(int messId, String messContent, String messTel, Date createTime, String nikename) {
		this.messId = messId;
		this.messContent = messContent;
		this.messTel = messTel;
		this.createTime = createTime;
		this.nikename = nikename;
	}

	public int getMessId() {
		return messId;
	}

	public void setMessId(int messId) {
		this.messId = messId;
	}

	public String getMessContent() {
		return messContent;
	}

	public void setMessContent(String messContent) {
		this.messContent = messContent;
	}

	public String getMessTel() {
		return messTel;
	}

	public void setMessTel(String messTel) {
		this.messTel = messTel;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getCreateTime() {
		return createTime;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getNikename() {
		return nikename;
	}

	public void setNikename(String nikename) {
		this.nikename = nikename;
	}

	@Override
	public String toString() {
		return "message [messId=" + messId + ", messContent=" + messContent + ", messTel=" + messTel + ", createTime="
				+ createTime + ", nikename=" + nikename + "]";
	}

}